package cn.edu.gzgs.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 部门视图对象
 *
 * @author Zyf
 */
@Data
@Schema(description = "部门视图对象")
public class DeptVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "部门ID")
    private Long id;

    @Schema(description = "部门名称")
    private String name;

    @Schema(description = "上级部门ID")
    private Long parentId;

    @Schema(description = "部门类型: 100-管理单位, 200-教学单位")
    private Integer type;

    @Schema(description = "创建时间")
    private LocalDateTime createdTime;

    @Schema(description = "更新时间")
    private LocalDateTime updatedTime;
} 